<!-- Block UI Script -->
<script type="text/javascript" src="js/jquery/jquery.blockUI.js"></script>

<!-- Script Facturacion Form -->
<script src="js/facturacion.js" type="text/javascript"></script>

<div class="content">
	<h1>Mantenimiento de Facturas de Ventas</h1>
	
	<ul>
		<li><input class="boton" type="button" id="btnNumeracion" value="Numeraci&oacute;n" /></li>
		<li><input class="boton" type="button" id="btnImprimir" value="Imprimir" /></li>
        <li><input class="boton" type="button" id="btnEliminar" value="Eliminar" /></li>
        <li><input class="boton" type="button" id="btnAgregar" value="Agregar" /></li>
    </ul>
    
	<table id="dt_facturas" class="display">
		<thead>
			<tr>
				<th>Id</th>
				<th>Comprobante</th>
				<th>Fecha</th>
				<th>Cliente</th>
				<th>Subtotal</th>
				<th>Bonif.</th>
				<th>Total</th>
				<th>CAE</th>
				<th>Vto. CAE</th>
				<th width="4px">Detalle</th>
			</tr>
	    </thead>
	    <tbody>
	    	<tr>
	    		<td colspan="10" class="dataTables_empty">Cargando Datos</td>
	    	</tr>
		</tbody>
	</table>
	<ul>
		<li>
			<input class="boton" type="button" id="btnAutorizar" value="Autorizar Facturas" style="width: 140px;" />
		</li>
	</ul>
	<h1>Ordenes de Picking Sin Facturar</h1>
	<table id="dt_picking" class="display">
		<thead>
			<tr>
				<th>Id</th>
				<th>Fecha</th>
				<th>CUIT</th>
				<th>Cliente</th>
			</tr>
	    </thead>
	    <tbody>
	    	<tr>
	    		<td colspan="4" class="dataTables_empty">Cargando Datos</td>
	    	</tr>
		</tbody>
	</table>	
</div>

<!-- PopUp Facturas Dialog -->
<div id="facturasDialog"></div>
<div id="facturasNumeracionDialog"></div>
<div id="facturasAutorizacionDialog"></div>

<!-- PopUp Delete Picking Dialog -->
<div id="deleteFacturasDialog" class="form_delete" style="display: none;">
	<h1>Desea Eliminar el Registro</h1>	
	<button id="btnConfirmaEliminar">Si</button>
	<button id="btnSalirEliminar">No</button>		
</div>

<script>
	$_init();
</script>